package exsun.jt808.data.upload_data.jsatl12;

/**
 * 高级驾驶辅助系统报警
 */
public class DriverAssistanceAlarm {
    /**
     * 报警ID
     */
    private int alarmId;
    /**
     * 标志状态
     * 0x00：不可用
     * 0x01：开始标志
     * 0x02：结束标志
     * 该字段仅适用于有开始和结束标志类型的报警或事件，报警类型或事件类型无开始和结束标志，则该位不可用
     */
    private int alarmStatus;
    /**
     * 报警/事件类型
     */
    private int alarmType;
    /**
     * 报警级别
     * 1：一级报警
     * 2：二级报警
     */
    private int alarmLevel;
    /**
     * 前车车速
     * 单位Km/h。范围0~250，仅报警类型为前向碰撞报警、车道偏离报警时有效。
     */
    private int frontVehicleSpeed;
    /**
     * 前车/行人距离
     * 单位100ms，范围0~100，仅报警类型为前向碰撞报警、车道偏离报警、行人碰撞报警时有效。
     */
    private int frontVehOrPeopleDistance;
    /**
     * 偏离类型
     * 1：左侧偏离
     * 2：右侧偏离
     * 仅报警类型为车道偏离报警时有效
     */
    private int deviateType;
    /**
     * 道路标志识别类型
     * 1：限速标志
     * 2：限高标志
     * 3：限重标志
     * 仅报警类型为道路标识超限报警和道路标志识别事件有效
     */
    private int roadMarkingType;
    /**
     * 道路标志识别数据
     */
    private int roadMarkingData;
    /**
     * 报警标识号
     */
    private String alarmSign;
    /**
     * 终端ID
     */
    private String terminalId;
    /**
     * 序号
     * 同一时间点报警的序号，从0循环累加
     */
    private int alarmSerialNo;
    /**
     * 附件数量
     */
    private int attachmentCount;
    /**
     * 报警编号，平台给报警分配的唯一编号
     */
    private String alarmCode;

    public int getAlarmId() {
        return alarmId;
    }

    public void setAlarmId(int alarmId) {
        this.alarmId = alarmId;
    }

    public int getAlarmStatus() {
        return alarmStatus;
    }

    public void setAlarmStatus(int alarmStatus) {
        this.alarmStatus = alarmStatus;
    }

    public int getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(int alarmType) {
        this.alarmType = alarmType;
    }

    public int getAlarmLevel() {
        return alarmLevel;
    }

    public void setAlarmLevel(int alarmLevel) {
        this.alarmLevel = alarmLevel;
    }

    public int getFrontVehicleSpeed() {
        return frontVehicleSpeed;
    }

    public void setFrontVehicleSpeed(int frontVehicleSpeed) {
        this.frontVehicleSpeed = frontVehicleSpeed;
    }

    public int getFrontVehOrPeopleDistance() {
        return frontVehOrPeopleDistance;
    }

    public void setFrontVehOrPeopleDistance(int frontVehOrPeopleDistance) {
        this.frontVehOrPeopleDistance = frontVehOrPeopleDistance;
    }

    public int getDeviateType() {
        return deviateType;
    }

    public void setDeviateType(int deviateType) {
        this.deviateType = deviateType;
    }

    public int getRoadMarkingType() {
        return roadMarkingType;
    }

    public void setRoadMarkingType(int roadMarkingType) {
        this.roadMarkingType = roadMarkingType;
    }

    public int getRoadMarkingData() {
        return roadMarkingData;
    }

    public void setRoadMarkingData(int roadMarkingData) {
        this.roadMarkingData = roadMarkingData;
    }

    public String getAlarmSign() {
        return alarmSign;
    }

    public void setAlarmSign(String alarmSign) {
        this.alarmSign = alarmSign;
    }

    public String getTerminalId() {
        return terminalId;
    }

    public void setTerminalId(String terminalId) {
        this.terminalId = terminalId;
    }

    public int getAlarmSerialNo() {
        return alarmSerialNo;
    }

    public void setAlarmSerialNo(int alarmSerialNo) {
        this.alarmSerialNo = alarmSerialNo;
    }

    public int getAttachmentCount() {
        return attachmentCount;
    }

    public void setAttachmentCount(int attachmentCount) {
        this.attachmentCount = attachmentCount;
    }

    public String getAlarmCode() {
        return alarmCode;
    }

    public void setAlarmCode(String alarmCode) {
        this.alarmCode = alarmCode;
    }
}
